package com.example.testdemo.coordinator;

import android.content.Context;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.testdemo.R;

/**
 * Created by 颜 on 05.07.007.
 */

public class DynamicAdapter extends BaseQuickAdapter<String,BaseViewHolder> {
    private Context context;

    public DynamicAdapter(Context context) {
        super(R.layout.item_dynamic);
        this.context = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.dynamic_text,item);
    }
}
